<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<table class="stableborder" cellpadding="2" cellspacing="2" style="padding: 2px; width: 100%">
	<tr>
		<td class="labelproperty_title">属性名称</td>
		<td class="labelpropertydesc_title">属性描述</td>
	</tr>
	<tr>
		<td class="labelproperty">required</td>
		<td class="labelpropertydesc">必录标志</td>
	</tr>
	<tr>
		<td class="labelproperty">missingMessage</td>
		<td class="labelpropertydesc">必录消息提示</td>
	</tr>
	<tr>
		<td class="labelproperty">invalidMessage</td>
		<td class="labelpropertydesc">验证失败消息提示</td>
	</tr>
	<tr>
		<td class="labelproperty">tipPosition</td>
		<td class="labelpropertydesc">left/right,默认right</td>
	</tr>
	<tr>
		<td class="labelproperty">validType</td>
		<td class="labelpropertydesc">验证方法,例子：data-defs="required:true,validType:'email'",
		默认:email/url/length(validType:'length[0,5]')/remote(validType:'remote[url,propertyName]')
		自定义方法扩展：
		$.extend($.fn.inputbox.defaults.rules, {
		        equals : {
		            validator : function(value, param) {
			            return value == $(param[0]).val();
		            },
		            message : '提示信息'
		        }
	        });使用：validType:'equals[\'#compareID\']'
		</td>
	</tr>
</table>
<table class="stableborder" cellpadding="2" cellspacing="2" style="padding: 2px; width: 100%">
	<tr>
		<td class="labelproperty_title">方法名称</td>
		<td class="labelpropertydesc_title">方法描述</td>
	</tr>
	<tr>
		<td class="labelproperty">validate</td>
		<td class="labelpropertydesc">验证组件,$('#inputboxId').inputbox('validate')</td>
	</tr>
	<tr>
		<td class="labelproperty">isValid</td>
		<td class="labelpropertydesc">是否验证通过,$('#inputboxId').inputbox('isValid')</td>
	</tr>
</table>